Skip to content

Conversation

@aerfrei
Copy link
Contributor

@aerfrei aerfrei commented Nov 20, 2025

This adds metamorphic testing of db-level feeds, making table
level feeds into db-level feeds unless the test explicitly opts
out or is otherwise setting changefeed options that aren't
compatible with db-level feeds.

Epic: CRDB-1421
Fixes: #148858

This change the default initial scan behavior for db-level
feeds to not do an initial scan if no option is specified.
When an initial scan is specified, that is respected.
We do not allow db-level changefeeds with initial_scan='only'.

This includes a rewrite of existing db-level feeds tests which
rely on default initial scans in their testing.

Epic: CRDB-1421
Informs: cockroachdb#156484

Release note: None
This adds metamorphic testing of db-level feeds, making table
level feeds into db-level feeds unless the test explicitly opts
out or is otherwise setting changefeed options that aren't
compatible with db-level feeds.

Epic: CRDB-1421
Fixes: cockroachdb#148858
@blathers-crl
Copy link

blathers-crl bot commented Nov 20, 2025

Your pull request contains more than 1000 changes. It is strongly encouraged to split big PRs into smaller chunks.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

changefeedccl: db-level feeds: metamorphic testing

2 participants